<div>
<?php
  echo $form->create('StoreUpload', array('url'=>array('plugin'=>'store','controller'=>'admin','action'=>'edit')));
  echo $form->input('StoreProduct.name');
  echo $form->hidden('StoreProduct.group_id');
  echo $form->hidden('StoreProduct.id');
  echo $form->end(__d("store","Save File",true));
?>

<?php echo $fileUpload->image($this->data['StoreUpload']['name'],array('autoResize'=>true,'width'=>500,'imagePathOnly'=>false));?>
</div>